package com.ruoyi.mqtt.consts;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 温湿度，传感器，大气压数据
 */
@Getter
@AllArgsConstructor
public enum MqSensorsEnums {

    SENSOR_TEMPERATURE("sensor_data", "传感器数据"),
    SENSOR_REQUEST_TYPE_SEND("send", "发送消息"),
    SENSOR_REQUEST_TYPE_RECEIVE("receive", "接收消息"),

    TOPIC_ORANGEPI_RECEIVE_TEMP("orangepi_receive_temp", "香橙派温度传感器主题--发送给单片机"),

    TOPIC_ORANGEPI_SEND_TEMP("orangepi_send_temp", "香橙派温度传感器主题--接收单片机"),
    ;

    private String code;
    private String desc;

}
